﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>{#ribbon_dlg.image_title}</title>
    <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
    <script type="text/javascript" src="../../utils/mctabs.js"></script>
    <script type="text/javascript" src="../../utils/form_utils.js"></script>
    <script type="text/javascript" src="js/image.js"></script>
</head>
<body id="image" style="display: none">
    <form onsubmit="ImageDialog.update();return false;" action="#">
    <!-- 
    <div class="tabs">
        
		<ul>
			<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#ribbon_dlg.image_title}</a></span></li>
		</ul>
        
	</div>
    -->
    <div class="panel_wrapper">
        <div id="general_panel" class="panel current">
            <table>
                <tr>
                    <td class="nowrap">
                        <label for="src">
                            {#ribbon_dlg.image_src}</label>
                    </td>
                    <td>
                        <table border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td>
                                    <input id="src" name="src" type="text" class="mceFocus" value="" style="width: 200px"
                                        onchange="ImageDialog.getImageData();" />
                                </td>
                                <td id="srcbrowsercontainer">
                                    &nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="image_list">
                            {#ribbon_dlg.image_list}</label>
                    </td>
                    <td>
                        <select id="image_list" name="image_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;">
                        </select>
                    </td>
                </tr>
                <tr>
                    <td class="nowrap">
                        <label for="alt">
                            {#ribbon_dlg.image_alt}</label>
                    </td>
                    <td>
                        <input id="alt" name="alt" type="text" value="" style="width: 200px" />
                    </td>
                </tr>
                <tr style="display: none">
                    <td class="nowrap">
                        <label for="align">
                            {#ribbon_dlg.image_align}</label>
                    </td>
                    <td>
                        <select id="align" name="align" onchange="ImageDialog.updateStyle();">
                            <option value="">{#not_set}</option>
                            <option value="baseline">{#ribbon_dlg.image_align_baseline}</option>
                            <option value="top">{#ribbon_dlg.image_align_top}</option>
                            <option value="middle">{#ribbon_dlg.image_align_middle}</option>
                            <option value="bottom">{#ribbon_dlg.image_align_bottom}</option>
                            <option value="text-top">{#ribbon_dlg.image_align_texttop}</option>
                            <option value="text-bottom">{#ribbon_dlg.image_align_textbottom}</option>
                            <option value="left">{#ribbon_dlg.image_align_left}</option>
                            <option value="right">{#ribbon_dlg.image_align_right}</option>
                        </select>
                    </td>
                </tr>
                <tr style="display: none">
                    <td class="nowrap">
                        <label for="width">
                            {#ribbon_dlg.image_dimensions}</label>
                    </td>
                    <td>
                        <input id="width" name="width" type="text" value="" size="3" maxlength="5" />
                        x
                        <input id="height" name="height" type="text" value="" size="3" maxlength="5" />
                    </td>
                </tr>
                <tr style="display: none">
                    <td class="nowrap">
                        <label for="border">
                            {#ribbon_dlg.image_border}</label>
                    </td>
                    <td>
                        <input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" />
                    </td>
                </tr>
                <tr style="display: none">
                    <td class="nowrap">
                        <label for="vspace">
                            {#ribbon_dlg.image_vspace}</label>
                    </td>
                    <td>
                        <input id="vspace" name="vspace" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" />
                    </td>
                </tr>
                <tr style="display: none">
                    <td class="nowrap">
                        <label for="hspace">
                            {#ribbon_dlg.image_hspace}</label>
                    </td>
                    <td>
                        <input id="hspace" name="hspace" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="mceActionPanel">
        <input type="submit" id="insert" name="insert" value="{#insert}" />
        <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
    </div>
    </form>
</body>
</html>
